package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (BulkGroup)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:14:37
 */
@ApiModel(value = "团购")
public class BulkGroup implements Serializable {
    private static final long serialVersionUID = 531134631175041200L;
    /**
     * 团购id
     */
    @ApiModelProperty(name = "bulkId",notes = "团购id",value = "团购id")
    private Integer bulkId;
    /**
     * 团购编号
     */
    @ApiModelProperty(name = "bulkOid",notes = "团购编号",required = true,value = "团购编号")
    private String bulkOid;
    /**
     * 团购状态（1：代付款；2：拼团中；3：拼团成功；4：拼团失败；5：拼团失败（待退款）；6：拼团失败（已退款））
     */
    @ApiModelProperty(name = "bulkStatus",notes = "团购状态（1：代付款；2：拼团中；3：拼团成功；4：拼团失败；5：拼团失败（待退款）；6：拼团失败（已退款））",value = "团购状态（1：代付款；2：拼团中；3：拼团成功；4：拼团失败；5：拼团失败（待退款）；6：拼团失败（已退款））")
    private Integer bulkStatus;
    /**
     * 购买用户
     */
    @ApiModelProperty(name = "bulkUser",notes = "购买用户",required = true,value = "购买用户")
    private String bulkUser;
    /**
     * 开团时间
     */
    @ApiModelProperty(name = "bulkBtime",notes = "开团时间",value = "开团时间")
    private Date bulkBtime;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "bulkEtime",notes = "结束时间",value = "结束时间")
    private Date bulkEtime;
    /**
     * 团长
     */
    @ApiModelProperty(name = "bulkLider",notes = "团长",required = true,value = "团长")
    private String bulkLider;
    /**
     * 还差人数
     */
    @ApiModelProperty(name = "bulkLp",notes = "还差人数",value = "还差人数")
    private Integer bulkLp;
    /**
     * 拼团时间起
     */
    @ApiModelProperty(name = "groupBtime",notes = "拼团时间起",value = "拼团时间起")
    private Date groupBtime;
    /**
     * 拼团时间始
     */
    @ApiModelProperty(name = "groupEtime",notes = "拼团时间始",value = "拼团时间始")
    private Date groupEtime;
    /**
     * 团购人数
     */
    @ApiModelProperty(name = "groupPnum",notes = "团购人数",required = true,value = "团购人数")
    private Integer groupPnum;
    /**
     * 状态（1：未删除；0：已删除）
     */
    @ApiModelProperty(name = "bulkGroupStatus",notes = "状态（1：未删除；0：已删除）",value = "状态（1：未删除；0：已删除）")
    private Integer bulkGroupStatus;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id（外键）",value = "商品id（外键）")
    private Integer goodsId;
    /**
     * 用户id（外键）
     */
    @ApiModelProperty(name = "userId",notes = "用户id（外键）",value = "用户id（外键）")
    private Integer userId;
    /**
     * 订单id（外键）
     */
    @ApiModelProperty(name = "orderId",notes = "订单id（外键）",value = "订单id（外键）")
    private Integer orderId;

    private Goods goods;

    private Users users;

    private Order order;

    public Integer getBulkId() {
        return bulkId;
    }

    public void setBulkId(Integer bulkId) {
        this.bulkId = bulkId;
    }

    public String getBulkOid() {
        return bulkOid;
    }

    public void setBulkOid(String bulkOid) {
        this.bulkOid = bulkOid;
    }

    public Integer getBulkStatus() {
        return bulkStatus;
    }

    public void setBulkStatus(Integer bulkStatus) {
        this.bulkStatus = bulkStatus;
    }

    public String getBulkUser() {
        return bulkUser;
    }

    public void setBulkUser(String bulkUser) {
        this.bulkUser = bulkUser;
    }

    public Date getBulkBtime() {
        return bulkBtime;
    }

    public void setBulkBtime(Date bulkBtime) {
        this.bulkBtime = bulkBtime;
    }

    public Date getBulkEtime() {
        return bulkEtime;
    }

    public void setBulkEtime(Date bulkEtime) {
        this.bulkEtime = bulkEtime;
    }

    public String getBulkLider() {
        return bulkLider;
    }

    public void setBulkLider(String bulkLider) {
        this.bulkLider = bulkLider;
    }

    public Integer getBulkLp() {
        return bulkLp;
    }

    public void setBulkLp(Integer bulkLp) {
        this.bulkLp = bulkLp;
    }

    public Date getGroupBtime() {
        return groupBtime;
    }

    public void setGroupBtime(Date groupBtime) {
        this.groupBtime = groupBtime;
    }

    public Date getGroupEtime() {
        return groupEtime;
    }

    public void setGroupEtime(Date groupEtime) {
        this.groupEtime = groupEtime;
    }

    public Integer getGroupPnum() {
        return groupPnum;
    }

    public void setGroupPnum(Integer groupPnum) {
        this.groupPnum = groupPnum;
    }

    public Integer getBulkGroupStatus() {
        return bulkGroupStatus;
    }

    public void setBulkGroupStatus(Integer bulkGroupStatus) {
        this.bulkGroupStatus = bulkGroupStatus;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "BulkGroup{" +
                "bulkId=" + bulkId +
                ", bulkOid='" + bulkOid + '\'' +
                ", bulkStatus=" + bulkStatus +
                ", bulkUser='" + bulkUser + '\'' +
                ", bulkBtime=" + bulkBtime +
                ", bulkEtime=" + bulkEtime +
                ", bulkLider='" + bulkLider + '\'' +
                ", bulkLp=" + bulkLp +
                ", groupBtime=" + groupBtime +
                ", groupEtime=" + groupEtime +
                ", groupPnum=" + groupPnum +
                ", bulkGroupStatus=" + bulkGroupStatus +
                '}';
    }
}